UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

All GIDs referenced in /etc/passwd must be defined in /etc/group.


Overview

Finding ID Version Rule ID IA Controls Severity
V-209025 OL6-00-000294 SV-209025r505921_rule Low
Description
Inconsistency in GIDs between /etc/passwd and /etc/group could lead to a user having unintended rights.
STIG Date
Oracle Linux 6 Security Technical Implementation Guide 2020-09-10

Details

Check Text ( C-9278r357860_chk )
To ensure all GIDs referenced in /etc/passwd are defined in /etc/group, run the following command:

# pwck -r | grep 'no group'

There should be no output.
If there is output, this is a finding.
Fix Text (F-9278r357861_fix)
Add a group to the system for each GID referenced without a corresponding group.